<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class AdsUser</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class AdsUser</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|													<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">User class for all API modules using the Ads API.</p>
	<ul class="tags">
				<li><span class="field">abstract:</span> </li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_Ads---Common---Lib---AdsUser.php.html">/Ads/Common/Lib/AdsUser.php</a> (line <span class="field">44</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../GoogleApiAdsAdWords/Lib/AdWordsUser.html">AdWordsUser</a></td>
					<td>
											User class for the AdWords API to create SOAP clients to the available API  services.
										</td>
				</tr>
							</table>
		</div>
	</div>



	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																																																																																																																																																																																																																												
												<div class="method-definition">
											<span class="method-result">AdsUser</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#CanRefreshOAuth2AccessToken" title="details" class="method-name">CanRefreshOAuth2AccessToken</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#GetAuthServer" title="details" class="method-name">GetAuthServer</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#GetAuthVarValue" title="details" class="method-name">GetAuthVarValue</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$authVar</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$authVarName</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$authIni</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#GetClientLibraryIdentifier" title="details" class="method-name">GetClientLibraryIdentifier</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#GetDefaultServer" title="details" class="method-name">GetDefaultServer</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#GetDefaultVersion" title="details" class="method-name">GetDefaultVersion</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#GetHeaderNames" title="details" class="method-name">GetHeaderNames</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#GetHeaderValue" title="details" class="method-name">GetHeaderValue</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#GetLogsDirectory" title="details" class="method-name">GetLogsDirectory</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#GetOAuth2AccessToken" title="details" class="method-name">GetOAuth2AccessToken</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$code</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$redirectUri</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#GetOAuth2AuthorizationUrl" title="details" class="method-name">GetOAuth2AuthorizationUrl</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$redirectUri</span> = <span class="var-default">NULL</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$offline</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$params</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../GoogleApiAdsCommon/Util/OAuth2Handler.html">OAuth2Handler</a></span>
										<a href="#GetOAuth2Handler" title="details" class="method-name">GetOAuth2Handler</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#GetOAuth2Info" title="details" class="method-name">GetOAuth2Info</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#GetOAuth2Scope" title="details" class="method-name">GetOAuth2Scope</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$server</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#GetOAuthAuthorizationUrl" title="details" class="method-name">GetOAuthAuthorizationUrl</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../../GoogleApiAdsCommon/Util/OAuthHandler.html">OAuthHandler</a></span>
										<a href="#GetOAuthHandler" title="details" class="method-name">GetOAuthHandler</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#GetOAuthInfo" title="details" class="method-name">GetOAuthInfo</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#GetOAuthScope" title="details" class="method-name">GetOAuthScope</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$server</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">SoapClient</span>
										<a href="#GetServiceSoapClient" title="details" class="method-name">GetServiceSoapClient</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceName</span>, <span class="var-type"><a href="../../GoogleApiAdsCommon/Lib/SoapClientFactory.html">SoapClientFactory</a></span>&nbsp;<span class="var-name">$serviceFactory</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#GetSoapCompressionLevel" title="details" class="method-name">GetSoapCompressionLevel</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#GetWsdlCacheType" title="details" class="method-name">GetWsdlCacheType</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#InitLogs" title="details" class="method-name">InitLogs</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#IsOAuth2AccessTokenValid" title="details" class="method-name">IsOAuth2AccessTokenValid</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#IsSoapCompressionEnabled" title="details" class="method-name">IsSoapCompressionEnabled</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#LoadSettings" title="details" class="method-name">LoadSettings</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$settingsIniPath</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$defaultVersion</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$defaultServer</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$defaultLogsDir</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$logsRelativePathBase</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#LogAll" title="details" class="method-name">LogAll</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#LogDefaults" title="details" class="method-name">LogDefaults</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#LogErrors" title="details" class="method-name">LogErrors</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#RefreshOAuth2AccessToken" title="details" class="method-name">RefreshOAuth2AccessToken</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#RequestOAuthToken" title="details" class="method-name">RequestOAuthToken</a>
											([<span class="var-type">$callbackUrl</span>&nbsp;<span class="var-name">$callbackUrl</span> = <span class="var-default">NULL</span>], [<span class="var-type">$server</span>&nbsp;<span class="var-name">$server</span> = <span class="var-default">NULL</span>], [<span class="var-type">$applicationName</span>&nbsp;<span class="var-name">$applicationName</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#SetDefaultServer" title="details" class="method-name">SetDefaultServer</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$defaultServer</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#SetDefaultVersion" title="details" class="method-name">SetDefaultVersion</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$defaultVersion</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#SetHeaderValue" title="details" class="method-name">SetHeaderValue</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#SetOAuth2Handler" title="details" class="method-name">SetOAuth2Handler</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$oauth2Handler</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#SetOAuth2Info" title="details" class="method-name">SetOAuth2Info</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$oauth2Info</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#SetOAuthHandler" title="details" class="method-name">SetOAuthHandler</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$oauthHandler</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#SetOAuthInfo" title="details" class="method-name">SetOAuthInfo</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$oauthInfo</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#UpgradeOAuthToken" title="details" class="method-name">UpgradeOAuthToken</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$verifier</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#ValidateOAuth2Info" title="details" class="method-name">ValidateOAuth2Info</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#ValidateOAuthInfo" title="details" class="method-name">ValidateOAuthInfo</a>
										()
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">61</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor for AdsUser.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">AdsUser</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../GoogleApiAdsAdWords/Lib/AdWordsUser.html#method__construct">AdWordsUser::__construct()</a>
								: The AdWordsUser constructor.
							</li>
				</ul>
	</div>
<a name="methodCanRefreshOAuth2AccessToken" id="CanRefreshOAuth2AccessToken"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">CanRefreshOAuth2AccessToken</span> (line <span class="line-number">563</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Determines if the OAuth2 access token can be refreshed.</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if the access token can be refreshed</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			CanRefreshOAuth2AccessToken
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodGetAuthServer" id="GetAuthServer"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">GetAuthServer</span> (line <span class="line-number">389</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the server used for authentication.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the server used for authentiation</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetAuthServer
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodGetAuthVarValue" id="GetAuthVarValue"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">GetAuthVarValue</span> (line <span class="line-number">77</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the authenticaiton value for the <var>$authVar</var> supplied. If  the <var>$authVar</var> is set, it is is used. Otherwirse, the supplied  <var>$authenticationIni</var> is queired for the variable. If none is found  <var>NULL</var> is returned.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the authentication variable value</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetAuthVarValue
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$authVar</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$authVarName</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$authIni</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$authVar</span><span class="var-description">: the default value for the authenticaiton variable</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$authVarName</span><span class="var-description">: the name of the authencation variable</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$authIni</span><span class="var-description">: the array of authentication variables from      an INI file</span>			</li>
				</ul>
		
			
	</div>
<a name="methodGetClientLibraryIdentifier" id="GetClientLibraryIdentifier"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">GetClientLibraryIdentifier</span> (line <span class="line-number">461</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the client library identifier used for user-agent fields.</p>
	<ul class="tags">
				<li><span class="field">return:</span> a unique client library identifier</li>
				<li><span class="field">abstract:</span> </li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetClientLibraryIdentifier
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../GoogleApiAdsAdWords/Lib/AdWordsUser.html#methodGetClientLibraryIdentifier">AdWordsUser::GetClientLibraryIdentifier()</a>
								: Gets the client library identifier used for user-agent fields.
							</li>
				</ul>
	</div>
<a name="methodGetDefaultServer" id="GetDefaultServer"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">GetDefaultServer</span> (line <span class="line-number">325</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the default server.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the default server</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetDefaultServer
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodGetDefaultVersion" id="GetDefaultVersion"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">GetDefaultVersion</span> (line <span class="line-number">341</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the default version.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the default version</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetDefaultVersion
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodGetHeaderNames" id="GetHeaderNames"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">GetHeaderNames</span> (line <span class="line-number">94</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the names of all registered request header elements.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the names of the request header elements</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			GetHeaderNames
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodGetHeaderValue" id="GetHeaderValue"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">GetHeaderValue</span> (line <span class="line-number">103</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the value for a registered request header element.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the value of the request header element or NULL if not found</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetHeaderValue
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$key</span><span class="var-description">: the name of the request header element</span>			</li>
				</ul>
		
			
	</div>
<a name="methodGetLogsDirectory" id="GetLogsDirectory"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">GetLogsDirectory</span> (line <span class="line-number">357</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the logs directory.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the logs directory</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetLogsDirectory
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodGetOAuth2AccessToken" id="GetOAuth2AccessToken"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">GetOAuth2AccessToken</span> (line <span class="line-number">545</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets an OAuth2 access token after it's been authorized, also saving it  on the user.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the updated OAuth2 info</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			GetOAuth2AccessToken
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$code</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$redirectUri</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$code</span><span class="var-description">: the authorization code returned in the response</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$redirectUri</span><span class="var-description">: optional callback URL</span>			</li>
				</ul>
		
			
	</div>
<a name="methodGetOAuth2AuthorizationUrl" id="GetOAuth2AuthorizationUrl"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">GetOAuth2AuthorizationUrl</span> (line <span class="line-number">530</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the OAuth2 authorization URL.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the URL used to redirect the user to to authorize the token</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetOAuth2AuthorizationUrl
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$redirectUri</span> = <span class="var-default">NULL</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$offline</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$params</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$redirectUri</span><span class="var-description">: optional callback URL</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$offline</span><span class="var-description">: if offline mode is requested, false by default</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$params</span><span class="var-description">: optional array of additional parameters to include      in the URL</span>			</li>
				</ul>
		
			
	</div>
<a name="methodGetOAuth2Handler" id="GetOAuth2Handler"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">GetOAuth2Handler</span> (line <span class="line-number">445</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the OAuth2 handler for this user.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the OAuth2 handler for this user</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../GoogleApiAdsCommon/Util/OAuth2Handler.html">OAuth2Handler</a></span>
		<span class="method-name">
			GetOAuth2Handler
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodGetOAuth2Info" id="GetOAuth2Info"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">GetOAuth2Info</span> (line <span class="line-number">429</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the OAuth2 info for this user.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the OAuth2 info for this user</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			GetOAuth2Info
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodGetOAuth2Scope" id="GetOAuth2Scope"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">GetOAuth2Scope</span> (line <span class="line-number">610</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the OAuth2 scope for this user.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the scope to use when requesting an OAuth2 token</li>
				<li><span class="field">abstract:</span> </li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetOAuth2Scope
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$server</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$server</span><span class="var-description">: the API server that requests will be made to</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../GoogleApiAdsAdWords/Lib/AdWordsUser.html#methodGetOAuth2Scope">AdWordsUser::GetOAuth2Scope()</a>
							</li>
				</ul>
	</div>
<a name="methodGetOAuthAuthorizationUrl" id="GetOAuthAuthorizationUrl"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">GetOAuthAuthorizationUrl</span> (line <span class="line-number">483</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the OAuth authorization URL for the OAuth token.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the URL used to authorize the token</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetOAuthAuthorizationUrl
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodGetOAuthHandler" id="GetOAuthHandler"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">GetOAuthHandler</span> (line <span class="line-number">413</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the OAuth handler for this user.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the OAuth handler for this user</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../GoogleApiAdsCommon/Util/OAuthHandler.html">OAuthHandler</a></span>
		<span class="method-name">
			GetOAuthHandler
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodGetOAuthInfo" id="GetOAuthInfo"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">GetOAuthInfo</span> (line <span class="line-number">397</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the OAuth info for this user.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the OAuth info for this user</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			GetOAuthInfo
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodGetOAuthScope" id="GetOAuthScope"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">GetOAuthScope</span> (line <span class="line-number">603</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the OAuth scope for this user.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the scope to use when requesting an OAuth token</li>
				<li><span class="field">abstract:</span> </li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetOAuthScope
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$server</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$server</span><span class="var-description">: the API server that requests will be made to</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../GoogleApiAdsAdWords/Lib/AdWordsUser.html#methodGetOAuthScope">AdWordsUser::GetOAuthScope()</a>
							</li>
				</ul>
	</div>
<a name="methodGetServiceSoapClient" id="GetServiceSoapClient"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">GetServiceSoapClient</span> (line <span class="line-number">126</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the service by its service name.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the instantiated service</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">SoapClient</span>
		<span class="method-name">
			GetServiceSoapClient
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceName</span>, <span class="var-type"><a href="../../GoogleApiAdsCommon/Lib/SoapClientFactory.html">SoapClientFactory</a></span>&nbsp;<span class="var-name">$serviceFactory</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serviceName</span><span class="var-description">: the service name</span>			</li>
					<li>
				<span class="var-type"><a href="../../GoogleApiAdsCommon/Lib/SoapClientFactory.html">SoapClientFactory</a></span>
				<span class="var-name">$serviceFactory</span><span class="var-description">: the service factory</span>			</li>
				</ul>
		
			
	</div>
<a name="methodGetSoapCompressionLevel" id="GetSoapCompressionLevel"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">GetSoapCompressionLevel</span> (line <span class="line-number">373</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the SOAP compression level.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the SOAP compression level</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			GetSoapCompressionLevel
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodGetWsdlCacheType" id="GetWsdlCacheType"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">GetWsdlCacheType</span> (line <span class="line-number">381</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets the type of WSDL caching in use.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the type of WSDL caching in use</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			GetWsdlCacheType
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodInitLogs" id="InitLogs"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">InitLogs</span> (line <span class="line-number">137</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Initializes the logging mechanism used by services created by this user.</p>
<p class="description"><p>HTTP headers and SOAP XML are logged to the soap_xml.log file and all  request information is logged to the request_info.log file under the logs  directory.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			InitLogs
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../GoogleApiAdsAdWords/Lib/AdWordsUser.html#methodInitLogs">AdWordsUser::InitLogs()</a>
								: Overrides AdsUser::InitLogs(), adding an additional log for report  download requests.
							</li>
				</ul>
	</div>
<a name="methodIsOAuth2AccessTokenValid" id="IsOAuth2AccessTokenValid"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">IsOAuth2AccessTokenValid</span> (line <span class="line-number">555</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Determines if the OAuth2 access token is still valid.</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if the access token is still valid</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			IsOAuth2AccessTokenValid
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodIsSoapCompressionEnabled" id="IsSoapCompressionEnabled"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">IsSoapCompressionEnabled</span> (line <span class="line-number">365</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Is SOAP compression enabled.</p>
	<ul class="tags">
				<li><span class="field">return:</span> is SOAP compression enabled</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			IsSoapCompressionEnabled
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodLoadSettings" id="LoadSettings"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">LoadSettings</span> (line <span class="line-number">186</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Loads the settings for this client library. If the settings INI file  located at <var>$settingsIniPath</var> cannot be loaded, then the  parameters passed into this method are used.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			LoadSettings
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$settingsIniPath</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$defaultVersion</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$defaultServer</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$defaultLogsDir</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$logsRelativePathBase</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$settingsIniPath</span><span class="var-description">: the path to the settings INI file</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$defaultVersion</span><span class="var-description">: the default version if the settings INI file      cannot be loaded</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$defaultServer</span><span class="var-description">: the default server if the settings INI file      cannot be loaded</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$defaultLogsDir</span><span class="var-description">: the default logs directory if the settings      INI file cannot be loaded</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$logsRelativePathBase</span><span class="var-description">: the relative path base for the logs      directory</span>			</li>
				</ul>
		
			
	</div>
<a name="methodLogAll" id="LogAll"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">LogAll</span> (line <span class="line-number">166</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Configures the library to log all requests.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			LogAll
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../GoogleApiAdsAdWords/Lib/AdWordsUser.html#methodLogAll">AdWordsUser::LogAll()</a>
								: Overrides AdsUser::LogAll(), setting an additional log level for report  download requests.
							</li>
				</ul>
	</div>
<a name="methodLogDefaults" id="LogDefaults"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">LogDefaults</span> (line <span class="line-number">150</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Configures the library to log basic information about all requests and  the full SOAP XML request and response only when an error occurs.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			LogDefaults
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../GoogleApiAdsAdWords/Lib/AdWordsUser.html#methodLogDefaults">AdWordsUser::LogDefaults()</a>
								: Overrides AdsUser::LogDefaults(), setting an additional log level for  report download requests.
							</li>
				</ul>
	</div>
<a name="methodLogErrors" id="LogErrors"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">LogErrors</span> (line <span class="line-number">158</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Configures the library to only log requests that return an error.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			LogErrors
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../GoogleApiAdsAdWords/Lib/AdWordsUser.html#methodLogErrors">AdWordsUser::LogErrors()</a>
								: Overrides AdsUser::LogErrors(), setting an additional log level for report  download requests.
							</li>
				</ul>
	</div>
<a name="methodRefreshOAuth2AccessToken" id="RefreshOAuth2AccessToken"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">RefreshOAuth2AccessToken</span> (line <span class="line-number">571</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Refreshes the access token, saving it on the user.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the updated OAuth2 info</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			RefreshOAuth2AccessToken
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodRequestOAuthToken" id="RequestOAuthToken"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">RequestOAuthToken</span> (line <span class="line-number">470</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Requests a new OAuth token.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			RequestOAuthToken
		</span>
					([<span class="var-type">$callbackUrl</span>&nbsp;<span class="var-name">$callbackUrl</span> = <span class="var-default">NULL</span>], [<span class="var-type">$server</span>&nbsp;<span class="var-name">$server</span> = <span class="var-default">NULL</span>], [<span class="var-type">$applicationName</span>&nbsp;<span class="var-name">$applicationName</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$callbackUrl</span>
				<span class="var-name">$callbackUrl</span><span class="var-description">: the URL to return to after the token is authorized</span>			</li>
					<li>
				<span class="var-type">$server</span>
				<span class="var-name">$server</span><span class="var-description">: the AdWords API server that requests will be made to</span>			</li>
					<li>
				<span class="var-type">$applicationName</span>
				<span class="var-name">$applicationName</span><span class="var-description">: the optional application name to present to the      user during token authorization</span>			</li>
				</ul>
		
			
	</div>
<a name="methodSetDefaultServer" id="SetDefaultServer"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">SetDefaultServer</span> (line <span class="line-number">333</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the default server.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			SetDefaultServer
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$defaultServer</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$defaultServer</span><span class="var-description">: the default server</span>			</li>
				</ul>
		
			
	</div>
<a name="methodSetDefaultVersion" id="SetDefaultVersion"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">SetDefaultVersion</span> (line <span class="line-number">349</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the default version.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			SetDefaultVersion
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$defaultVersion</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$defaultVersion</span><span class="var-description">: the default version</span>			</li>
				</ul>
		
			
	</div>
<a name="methodSetHeaderValue" id="SetHeaderValue"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">SetHeaderValue</span> (line <span class="line-number">116</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the value for a request header.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			SetHeaderValue
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$key</span><span class="var-description">: the name of the request header element</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span><span class="var-description">: the value for the request header element</span>			</li>
				</ul>
		
			
	</div>
<a name="methodSetOAuth2Handler" id="SetOAuth2Handler"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">SetOAuth2Handler</span> (line <span class="line-number">453</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the OAuth2 handler for this user.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			SetOAuth2Handler
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$oauth2Handler</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$oauth2Handler</span><span class="var-description">: the OAuth2 handler for this user</span>			</li>
				</ul>
		
			
	</div>
<a name="methodSetOAuth2Info" id="SetOAuth2Info"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">SetOAuth2Info</span> (line <span class="line-number">437</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the OAuth2 info for this user.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			SetOAuth2Info
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$oauth2Info</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$oauth2Info</span><span class="var-description">: the OAuth2 info for this user</span>			</li>
				</ul>
		
			
	</div>
<a name="methodSetOAuthHandler" id="SetOAuthHandler"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">SetOAuthHandler</span> (line <span class="line-number">421</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the OAuth handler for this user.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			SetOAuthHandler
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$oauthHandler</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$oauthHandler</span><span class="var-description">: the OAuth handler for this user</span>			</li>
				</ul>
		
			
	</div>
<a name="methodSetOAuthInfo" id="SetOAuthInfo"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">SetOAuthInfo</span> (line <span class="line-number">405</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the OAuth info for this user.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			SetOAuthInfo
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$oauthInfo</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$oauthInfo</span><span class="var-description">: the OAuth info for this user</span>			</li>
				</ul>
		
			
	</div>
<a name="methodUpgradeOAuthToken" id="UpgradeOAuthToken"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">UpgradeOAuthToken</span> (line <span class="line-number">493</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Upgrades the authorized OAuth token.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			UpgradeOAuthToken
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$verifier</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$verifier</span><span class="var-description">: the verifier string returned from authorizing the      token</span>			</li>
				</ul>
		
			
	</div>
<a name="methodValidateOAuth2Info" id="ValidateOAuth2Info"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">ValidateOAuth2Info</span> (line <span class="line-number">582</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Validates that the OAuth2 info is complete.</p>
	<ul class="tags">
				<li><span class="field">throws:</span> ValidationException if there are any validation errors</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			ValidateOAuth2Info
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodValidateOAuthInfo" id="ValidateOAuthInfo"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">ValidateOAuthInfo</span> (line <span class="line-number">503</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Validates that the OAuth info is complete.</p>
	<ul class="tags">
				<li><span class="field">throws:</span> ValidationException if there are any validation errors</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			ValidateOAuthInfo
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>